<% /**
	* login.jsp
	* 
	* Page containing the form for login, as well as allowing a user to create a new account and recover password.
	*
	* @author Chris Avery
	*/
%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@page import="b1w1nn1ng.crossf1t.gui.*"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title> Log In </title>
		<jsp:include page="/detectBrowser.jsp" />	
	</head>
	<body>
		<div id="container">
		
		<h1> Create Account </h1> <hr />
		
		<!--  SHOULD WE SAVE USER AS A SESSION VARIABLE, IF NOT ... WTF DO WE DO TO ACCESS THROUGH PROFILE AND SUCH ? :) -->

		<form method="post" action="loginCreateAccountConfirmation.jsp" >
			<div id="alignleft">
				<table class="tableDiv2">
					<tr>
						<td width="50%">Username:</td>
						<td><input type="text" name="username" size="30" class="inputBoxes"/>
						</td>
					</tr>
					<tr>
						<td width="50%">Password:</td>
						<td><input type="password" name="password1"	size="18" class="inputBoxes" />
						</td>
					</tr>
					<tr>
						<td width="50%">Confirm Password:</td>
						<td><input type="password" name="password2" size="18" class="inputBoxes" />
						</td>
					</tr>
					<tr>
						<td width="50%">Email:</td>
						<td><input type="text" name="email1" size="30" class="inputBoxes" />
						</td>
					</tr>
					<tr>
						<td width="50%">Confirm Email:</td>
						<td><input type="text" name="email2" size="30" class="inputBoxes" />
						</td>
					</tr>
					<tr>
						<td width="50%">Security Question:</td>
						<td><select name="question" class="selects2">
								<option></option>
								<option>What was your maternal grandmother's maiden
									name?</option>
								<option>Where were you born?</option>
								<option>Who was your childhood friend?</option>
								<option>What was your childhood nickname?</option>
								<option>What was the name of your first stuffed animal?
								</option>
								<option>What was the last name of your favorite
									teacher?</option>
								<option>What was your first pet's name?</option>
								<option>What did you want to be when you grew up?</option>
								<option>What is your favorite number?</option>
						</select></td>
					</tr>
					<tr>
						<td width="50%">Answer:</td>
						<td><input type="text" name="answer" size="50" class="inputBoxes" />
						</td>
					</tr>	
					<tr>
						<td colspan="2" class="alignCenter" style="text-decoration:strong">To help you get started, tell us some things about yourself!</td>
					</tr>
					<tr>
						<td width="50%">First Name:</td>
						<td><input type="text" name="firstName"	size="18" class="inputBoxes" /></td>
					</tr>
					<tr>
						<td width="50%">Last Name:</td>
						<td><input type="text" name="lastName" size="18" class="inputBoxes" /></td>
					</tr>
					<tr>
						<td width="50%">Starting weight:</td>
						<td><input type="text" name="weight" size="3" class="inputBoxes" /></td>
					</tr>
					<tr>
						<td width="50%">Height (in inches):</td>
						<td><input type="text" name="height" size="2" class="inputBoxes" /></td>
					</tr>
				</table>
			</div>
			<input type="submit" value="Submit" class="submit" />
			<input type="button" value="Cancel"	class="submit" onclick="window.location ='login.jsp'" />
		</form>
			
	</div>
	</body>
</html>

